package com.example.server.service;

import com.example.server.pojo.Interstway;
import com.example.server.pojo.Localtion;
import com.example.server.pojo.Production;

import java.util.Date;
import java.util.List;

public interface Productionservice {
    List<Interstway> getInterstway();
    String createproduction(String p_id, String p_name, String p_createid, String p_info, int minyear, int maxyear, int limitmoney, String interstway);
    List<Production> getAllproduction();
    String setlocaltion(String p_id,String localinfo);
    String updateproduction(String p_id, String p_name, String p_createid,String p_info, int p_minyear,int p_maxyear,int p_limitmoney, String p_interstway);
    String deleteproduction(String p_id);
    List<Localtion> getlocaltion();
    Production getprodunctionbyId(String p_id);
    void locklimit(String p_id,int lockedlimit);
    void releaselimit(String p_id,int rlimit);
    void addlimit(String p_id,int alimit);
}
